package edu.ecnu.yt.spring.di.compactdisc;

public class ACollection implements CompactDisc {

	private String title = "A Collection Of Beatles Oldies";
	private String artist = "";
	
	public ACollection(BeatlesBean artistBean) {
		artist = artistBean.name;
	}
	
	public void play() {
		System.out.println("Playing " + title + " by " + artist);
	}

}
